public class ddd {
    public static void main(String[] args) {
        System.out.println(add());
    }
    public static int add(){
        try {
            System.out.println("1");
            return 3;
        }catch (Exception e){
            return 2;
        }
        finally {
            return 1;
        }
    }
}
